<div ms-controller="departList" class="departList">
	<div class="userTop">
		<h2 class="title">设备列表</h2>
		<div class="topMain clearfix">
			<input type="text" class="inputSize btn" ms-duplex="name" placeholder="请输入设备名称" />
			<button class="btn1" ms-click="getDeviceList">搜索</button>
			<button class="btnAdd" ms-click="addEquip">添加设备</button>
		</div>
	</div>
	<table class="table table-striped">
		<thead>
			<tr>
				<th>序号</th>
				<th>图片</th>
				<th>名称</th>
				<th>商品货号</th>
				<th>类型</th>
				<th>适用人群</th>
				<th class="last">操作</th>
			</tr>
		</thead>
		<tbody>
			<tr ms-repeat="list">
				<td>{{el.id}}</td>
				<td class="img"><img ms-src="qn+el.image"></td>
				<td>{{el.name}}</td>
				<td>{{el.goodsNo}}</td>
				<td>{{el.type}}</td>
				<td>{{el.applyPeople}}</td>
				<td class="edit">
					<div ms-click="lookDetail(el.id)">
						<i class="iconfont">&#xe611;</i>
						<h1>查看</h1>
					</div>
					<div ms-click="editDetail(el.id)">
						<i class="iconfont">&#xe60c;</i>
						<h1>编辑</h1>
					</div>
					<div ms-click="removeDetail($index, $remove,el.id)">
						<i class="iconfont">&#xe60d;</i>
						<h1>删除</h1>
					</div>
				</td>
			</tr>
		</tbody>
	</table>
</div>
